// Beginning Game Programming
// Chapter 9
// dxaudio.h - DirectSound framework header file
#pragma once

#ifndef _CAUDIO_H
#define _CAUDIO_H

#include "dsutil.h"

//primary DirectSound object
extern CSoundManager *dsound;

//function prototypes
bool initDirectSound(HWND);
CSound *LoadSound(char *);
void PlaySound(CSound *);
void LoopSound(CSound *);
void StopSound(CSound *);

#endif

